<?php /*a:1:{s:51:"D:\wwwroot\127.0.0.1\app\index\view\model/login.vue";i:1691137620;}*/ ?>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="float: right;"></button>
<div>
  <div class="card-body">
    <h6 class="text-center my-3" style="font-size: 1.4rem;">用户登录</h6>
    <form autocomplete="off" class="password-form" onsubmit="return do_login(this, '<?php echo url('member/login/login'); ?>')">
      <div class="mb-3">
        <input name="username" placeholder="请输入用户名或邮箱" required="" class="form-control"></div>
      <div class="mb-3">
        <input name="password" placeholder="请输入密码" type="password" required="" class="form-control"></div>
      <?php if($site['member_chek']): ?>
      <div id="captcha" class="mb-3 input-group">
        <input name="code" placeholder="请输入验证码" required="" class="form-control">
        <span class="input-group-text" style="padding: 0">
          <img id="codeimg" onclick="this.src=this.src+'?'" style="width: 100px"  src="<?php echo captcha_src(); ?>" alt="captcha" /></span>
      </div><?php endif; ?>
      <div class="mb-3 text-end">
        <a href="/user/forgot">忘记密码？</a></div>
      <div class="d-grid">
        <button type="submit" class="sflex-center btn btn-primary">登录</button></div>
    </form>
    <div class="3rd-btn-group mt-3 text-center ">
      <button type="button" class="btn-reset  btn btn-link" style="color: rgb(49, 130, 246);">
        <i class="bi bi-google"></i>
      </button>
      <button type="button" class="btn-reset  btn btn-link" style="color: rgb(51, 51, 51);">
        <i class="bi bi-github"></i>
      </button>
      <button type="button" class="btn-reset  btn btn-link" style="color: rgb(236, 1, 23);">
        <i class="bi bi-sina-weibo"></i>
      </button>
      
      <button type="button" class="btn-reset  btn btn-link" style="color: rgb(0, 152, 230);">
        <i class="bi bi-tencent-qq"></i>
      </button>
      <button type="button" class="btn-reset  btn btn-link" style="color: rgb(75, 170, 244);">
        <i class="bi bi-twitter"></i>
      </button>
      <button type="button" class="btn-reset  btn btn-link" style="color: rgb(72, 98, 163);">
       <i class="bi bi-facebook"></i>
      </button>
      </div>
    <div class="text-muted text-center font-size-14 my-3">继续即代表同意
      <a href="/tos" target="_blank">《服务协议》</a>和
      <a href="/privacy" target="_blank">《隐私政策》</a></div>
  </div>
</div>